import type { RouteRecordRaw } from 'vue-router'

/**
 * 用户仓库
 */
export interface UserState {
  token: string | null
  menuRouters: RouteRecordRaw[]
  userName: string | null
  avatar: string | null
}

export interface EditableTab {
  title: string
  name: string
  path: string
}

/**
 * layout仓库
 */
export interface LayoutSettingState {
  fold: boolean
  editableTabs: EditableTab[]
  editableTabsValue: string
  refsh: boolean
}
